package cn.wolfcode.crm.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Getter;
import lombok.Setter;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

@Getter
@Setter
public class PotentialCustomer {
    private Long id;

    private String name;

    private Integer age;

    private String gender;

    private String phone;

    private String weixin;

    private String qq;

    private String email;

    //营销人员
    private Employee marketingPerson;

    //录入人名字
    private String inputPerson;

    @JsonFormat(pattern="yyyy-MM-dd", timezone = "GMT+8")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    private Date createTime;

    @JsonFormat(pattern="yyyy-MM-dd", timezone = "GMT+8")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    private Date inputTime;

    private SystemDictionaryBill intentionCampus;

    private Grade intentionClass;

    //意向程度
    private SystemDictionaryBill intentionDegree;

    //客户来源
    private SystemDictionaryBill source;

    //学校
    private String school;

    private BigClient schoolId;

    //学历
    private SystemDictionaryBill educationBackground;

    private String major;

    @JsonFormat(pattern="yyyy-MM-dd", timezone = "GMT+8")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    private Date enrollmentTime;

    private String jobTime;

    private String introducer;

    private String hasComputer;

    private String problemFocused;

    private String remark;

    //状态
    private Integer state;

    //移入资源池时间
    @JsonFormat(pattern="yyyy-MM-dd", timezone = "GMT+8")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    private Date resourcePoolTime;

}